package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;

import com.ruoyi.common.core.domain.TbCustomerOrderDetail;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单管理对象 tb_customer_order
 * 
 * @author ruoyi
 * @date 2024-09-12
 */
public class TbCustomerOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID，订单号 */
    private String orderNumber;

    /** 手机号 */
    private String phone;

    /** 消费者昵称 */
    private String customerName;

    /** 顾客id */
    @Excel(name = "顾客id")
    private Long customerId;

    /** 订单时间（包括日期和时间） */
    @Excel(name = "订单时间", readConverterExp = "包=括日期和时间")
    private Date orderTime;

    /** 转换的订单时间（包括日期） */
    private String time;


    /** 订单总价 */
    @Excel(name = "订单总价")
    private Long orderPrice;

    /** 根据消费金额所增加的积分 */
    @Excel(name = "根据消费金额所增加的积分")
    private Long orderPoint;

    /** 订单状态id */
    @Excel(name = "订单状态id")
    private Long orderStatusId;

    /** 顾客评价，用户对订单服务的评价 */
    @Excel(name = "顾客评价，用户对订单服务的评价")
    private String orderComment;

    /** 叫餐号 */
    @Excel(name = "叫餐号")
    private Long orderCallnum;

    private Long merchantId;

    private Long storeId;

    private List<TbCustomerOrderDetail> tbCustomerOrderDetailList;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }



    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    /** 商家-顾客：订单详情
买了什么东西 、  数量  、  价格信息 */


    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setOrderTime(Date orderTime) 
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime() 
    {
        return orderTime;
    }
    public void setOrderPrice(Long orderPrice) 
    {
        this.orderPrice = orderPrice;
    }

    public Long getOrderPrice() 
    {
        return orderPrice;
    }
    public void setOrderPoint(Long orderPoint) 
    {
        this.orderPoint = orderPoint;
    }

    public Long getOrderPoint() 
    {
        return orderPoint;
    }
    public void setOrderStatusId(Long orderStatusId) 
    {
        this.orderStatusId = orderStatusId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Long getOrderStatusId()
    {
        return orderStatusId;
    }
    public void setOrderComment(String orderComment) 
    {
        this.orderComment = orderComment;
    }

    public String getOrderComment() 
    {
        return orderComment;
    }
    public void setOrderCallnum(Long orderCallnum) 
    {
        this.orderCallnum = orderCallnum;
    }

    public Long getOrderCallnum() 
    {
        return orderCallnum;
    }
    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }

    public List<TbCustomerOrderDetail> getTbCustomerOrderDetailList()
    {
        return tbCustomerOrderDetailList;
    }

    public void setTbCustomerOrderDetailList(List<TbCustomerOrderDetail> tbCustomerOrderDetailList)
    {
        this.tbCustomerOrderDetailList = tbCustomerOrderDetailList;
    }

    @Override
    public String toString() {
        return "TbCustomerOrder{" +
                "orderNumber=" + orderNumber +
                ", phone=" + phone +
                ", customerName='" + customerName + '\'' +
                ", customerId=" + customerId +
                ", orderTime=" + orderTime +
                ", time='" + time + '\'' +
                ", orderPrice=" + orderPrice +
                ", orderPoint=" + orderPoint +
                ", orderStatusId=" + orderStatusId +
                ", orderComment='" + orderComment + '\'' +
                ", orderCallnum=" + orderCallnum +
                ", merchantId=" + merchantId +
                ", tbCustomerOrderDetailList=" + tbCustomerOrderDetailList +
                '}';
    }


}
